



#ifndef TYPEDEF_H
#define	TYPEDEF_H

#include "cmsis_os.h"
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include "NUC029xAN.h"
typedef	signed				char		s8;
typedef	signed short 	int			s16;
typedef	signed				int			s32;

    /* exact-width unsigned integer types */
typedef unsigned				char 	u8;
typedef unsigned short	int 	u16;
typedef unsigned				int 	u32;


typedef const s32 				sc32;  /*!< Read Only */
typedef const s16 				sc16;  /*!< Read Only */
typedef const s8 					sc8;   /*!< Read Only */

typedef const u32 				uc32;  /*!< Read Only */
typedef const u16 				uc16;  /*!< Read Only */
typedef const u8 					uc8;   /*!< Read Only */

typedef volatile s32  		vs32;
typedef volatile s16  		vs16;
typedef volatile s8   		vs8;


typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus;






#endif	


